package org.zgflex.desktop
{
	/**
	 * The error class used for all errors thrown by the Desktop component.
	 * @author dankok
	 * 
	 */	
	public class DesktopError extends Error
	{
		// error messages
		public static var ICON_NOT_FOUND_IN_THE_COLLECTION:String = "Icon not found in the collection";
		public static var LAYOUT_MANAGER_IS_NULL:String = "layoutManager is null";
		public static var LAYOUT_MANAGER_AREA_CANNOT_SET_TO_NULL:String = "layoutManager cannot be set to null";
		public static var SELECTION_AREA_IS_NULL:String = "selectionArea is null";
		public static var SELECTION_AREA_CANNOT_SET_TO_NULL:String = "selectionArea cannot be set to null";
		public static var SELECTION_RENDERER_IS_NULL:String = "selectionRenderer is null";
		public static var SELECTION_RENDERER_CANNOT_SET_TO_NULL:String = "selectionRenderer cannot be set to null";
		
		public function DesktopError(message:String="", id:int=0)
		{
			super(message, id);
		}
		
	}
}